module.exports = ({ file }) => {
  console.log('type', file)
  return {
    plugins: {
      'postcss-px-to-viewport-8-plugin': {
        viewportWidth: file.includes('node_modules\\vant') ? 375 : 375,
        viewportUnit: 'vmin'
      }
    }
  }
}
